
# -*- coding: utf-8 -*-

import tornado.web

class BaseController(tornado.web.RequestHandler):
	def __init__(self, application, request):
		tornado.web.RequestHandler.__init__(self, application, request)

	def get_current_user(self):
		return self.get_secure_cookie("userid")
